package com.gmu.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @auther verb-calming
 * @date 2022/8/18 2:07
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ExcelIgnoreUnannotated
public class BeSampleUnitsActivitiesVo {
    private Integer activitiesId;

    @ExcelProperty(value = "单位地点")
    @ColumnWidth(30)
    private String name;

    @ExcelProperty(value = "采样地点")
    @ColumnWidth(30)
    private String addressName;

    @ExcelProperty(value = "窗口号")
    private String addressNumber;

    @ExcelProperty(value = "采样开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ColumnWidth(20)
    private Date sampleBeginTime;

    @ExcelProperty(value = "采样结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ColumnWidth(20)
    private Date sampleEndTime;

    @ExcelProperty(value = "可预约人数")
    private Integer peoples;

    @ExcelProperty(value = "已预约人数")
    private Integer orderedPeoples;

    private Integer orderStatus;

    @ExcelProperty(value = "是否可预约")
    private String orderSta;
}
